<?php
function the_title(){
	global $note;
	if( isSet( $note['title'] ) && strlen( $note['title']) > 0 ){
		echo $note['title'].' - '.SITE_NAME;
	}else{
		echo SITE_NAME.' - '.SITE_TITLE;
	}
}

function the_name(){
	echo SITE_NAME;
}
function the_site(){
	echo SITE_URL;
}
function the_content(){
	global $note;
	echo $note['content'];
}
function the_note_id(){
	global $note;
	echo $note['id'];
}